* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	23.12.2021 	14:02:32 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	23.12.2021 	14:02:32 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	23.12.2021 	14:02:32 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	23.12.2021 	14:02:32 	lx 	(1. Application process)

    Connected to: 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	23.12.2021 	14:02:32 	lx 	(1. Application process)

  database connect time: 0.0005 seconds. 	23.12.2021 	14:02:32 	lx 	(1. Application process)

* connect: connection changed to 'postgre-demo/fi_demo'. 	23.12.2021 	14:02:32 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	23.12.2021 	14:02:32 	lx 	(1. Application process)

* preference 'system/nc_server_start.json', organization '0' was loaded from database 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	23.12.2021 	14:02:32 	lx 	(1. Application process)

error: preference 'system/nc_server_start.json' was not found
  [stack traceback:
	/Users/pasi/nc/nc-server/lib/util.lua:550: in function 'printError'
	/Users/pasi/nc/nc-server/lib/db/dprf.lua:466: in function 'preferenceFromJson'
	/Users/pasi/nc/nc-server/manager/4d/nc_server_4d.lua:44: in function </Users/pasi/nc/nc-server/manager/4d/nc_server_4d.lua:27>
	[C]: in function 'pcall'
	/Users/pasi/nc/nc-server/manager/4d/run_from_4d.lua:70: in function </Users/pasi/nc/nc-server/manager/4d/run_from_4d.lua:19>]
. 	23.12.2021 	14:02:32 	lx 	(1. Application process)

Käynnisteään Tcp palvelin 2. 	23.12.2021 	14:02:32 	_lx_SERVER 	(5. palvelin)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	23.12.2021 	14:02:34 	lx 	(5. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	23.12.2021 	14:02:34 	lx 	(5. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	23.12.2021 	14:02:34 	lx 	(5. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	23.12.2021 	14:02:34 	lx 	(5. palvelin)

    Connected to: 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	23.12.2021 	14:02:34 	lx 	(5. palvelin)

  database connect time: 0.0002 seconds. 	23.12.2021 	14:02:34 	lx 	(5. palvelin)

* connect: connection changed to 'postgre-demo/fi_demo'. 	23.12.2021 	14:02:34 	lx 	(5. palvelin)

* paths:
 - main: '/Users/pasi/nc/nc-server/'
 - bin : '/Users/pasi/4D/mg_v19/Manageri_v19/Resources/bin/bin_osx_arm64/'
 - pref: '/Users/pasi/nc/nc-server/preference/'
 - 4D  : '/Users/pasi/4D/mg_v19/Manageri_v19/'
. 	23.12.2021 	14:02:34 	lx 	(5. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	23.12.2021 	14:02:34 	lx 	(5. palvelin)

poll.expand_fds: 50, old fds: nil, new fds: cdata<struct pollfd *>: 0x01271475a0, size: 400. 	23.12.2021 	14:02:34 	lx 	(5. palvelin)

********************* /Users/pasi/nc/nc-server/ *********************. 	23.12.2021 	14:02:34 	lx 	(5. palvelin)

port: 5949, arguments: '[
	5949
]', nc-server.json: '[]'. 	23.12.2021 	14:02:34 	lx 	(5. palvelin)

nc_server: debugLevel(0):0  port(5959):5949  closeConnection(0):0. 	23.12.2021 	14:02:34 	lx 	(5. palvelin)

1. Loading plugin: nc/worker/auth_worker. 	23.12.2021 	14:02:34 	lx 	(5. palvelin)

2. Loading plugin: nc/worker/query_worker. 	23.12.2021 	14:02:34 	lx 	(5. palvelin)

3. Loading plugin: nc/worker/query4d_worker. 	23.12.2021 	14:02:34 	lx 	(5. palvelin)

4. Loading plugin: nc/worker/call4d_worker. 	23.12.2021 	14:02:34 	lx 	(5. palvelin)

All plugins have been loaded. 	23.12.2021 	14:02:34 	lx 	(5. palvelin)

* cached preference files: demo-fi_demo-0 - system/option.json, demo-fi_demo-0 - table/prf/field_type.json, demo-fi_demo-0 - system/4d.json. 	23.12.2021 	14:02:34 	lx 	(5. palvelin)

* run in command line: 'ifconfig | grep -E 'inet.[0-9]' | grep -v '127.0.0.1' | awk '{ print $2}''. 	23.12.2021 	14:02:34 	lx 	(5. palvelin)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	23.12.2021 	14:02:34 	lx 	(5. palvelin)

Mac address: f84d896921dc. 	23.12.2021 	14:02:34 	lx 	(5. palvelin)

TLS certificate files: /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/cert.pem, /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/privkey.pem. 	23.12.2021 	14:02:34 	lx 	(5. palvelin)

NC tcp server waiting on:  http://127.0.0.1:5949/,  http://192.168.32.192:5949/
                          https://127.0.0.1:5949/, https://192.168.32.192:5949/. 	23.12.2021 	14:02:34 	lx 	(5. palvelin)

NC udp server waiting on: 127.0.0.1:5949/, 192.168.32.192:5949/. 	23.12.2021 	14:02:34 	lx 	(5. palvelin)

--- server started in 0.005 seconds, 2021-12-23 14:02:34, used memory 3117.7 kb --- 	 5. 	23.12.2021 	14:02:34 	lx 	(5. palvelin)

OSX arm64, using: rapidjson-arm, lfs-ffi. 	23.12.2021 	14:02:34 	lx 	(5. palvelin)

*** tcp close for sock 72, type 'nil', protocol 'nil', reason: '', request length: (no request) bytes ***. 	23.12.2021 	14:17:12 	lx 	(5. palvelin)

closing socket '72'. 	23.12.2021 	14:17:12 	lx 	(5. palvelin)

*** tcp close for sock 73, type 'nil', protocol 'nil', reason: '', request length: (no request) bytes ***. 	23.12.2021 	14:17:12 	lx 	(5. palvelin)

closing socket '73'. 	23.12.2021 	14:17:12 	lx 	(5. palvelin)

 -- Server statistics --
answerCount:          0
poll.fd_count:        0
pollCount:            38632
pollInCount:          0
pollOutCount:         0
pollCloseCount:       0
pollErrCount:         0
fd add/remove count:  2/2
totalBytesReceived:   0
totalBytesSent:       0. 	23.12.2021 	14:17:12 	lx 	(5. palvelin)

--- server stopped ---. 	23.12.2021 	14:17:12 	lx 	(5. palvelin)

finalizer: free p1 	 cdata<void *>: 0x01271475a0. 	23.12.2021 	14:17:12 	lx 	(5. palvelin)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	23.12.2021 	17:15:20 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	23.12.2021 	17:15:20 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	23.12.2021 	17:15:20 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	23.12.2021 	17:15:20 	lx 	(1. Application process)

    Connected to: 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	23.12.2021 	17:15:20 	lx 	(1. Application process)

  database connect time: 0.0007 seconds. 	23.12.2021 	17:15:20 	lx 	(1. Application process)

* connect: connection changed to 'postgre-demo/fi_demo'. 	23.12.2021 	17:15:20 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	23.12.2021 	17:15:20 	lx 	(1. Application process)

* preference 'system/nc_server_start.json', organization '0' was loaded from database 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	23.12.2021 	17:15:20 	lx 	(1. Application process)

error: preference 'system/nc_server_start.json' was not found
  [stack traceback:
	/Users/pasi/nc/nc-server/lib/util.lua:550: in function 'printError'
	/Users/pasi/nc/nc-server/lib/db/dprf.lua:466: in function 'preferenceFromJson'
	/Users/pasi/nc/nc-server/manager/4d/nc_server_4d.lua:44: in function </Users/pasi/nc/nc-server/manager/4d/nc_server_4d.lua:27>
	[C]: in function 'pcall'
	/Users/pasi/nc/nc-server/manager/4d/run_from_4d.lua:70: in function </Users/pasi/nc/nc-server/manager/4d/run_from_4d.lua:19>]
. 	23.12.2021 	17:15:20 	lx 	(1. Application process)

Käynnisteään Tcp palvelin 2. 	23.12.2021 	17:15:20 	_lx_SERVER 	(5. palvelin)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	23.12.2021 	17:15:22 	lx 	(5. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	23.12.2021 	17:15:22 	lx 	(5. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	23.12.2021 	17:15:22 	lx 	(5. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	23.12.2021 	17:15:22 	lx 	(5. palvelin)

    Connected to: 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	23.12.2021 	17:15:22 	lx 	(5. palvelin)

  database connect time: 0.0003 seconds. 	23.12.2021 	17:15:22 	lx 	(5. palvelin)

* connect: connection changed to 'postgre-demo/fi_demo'. 	23.12.2021 	17:15:22 	lx 	(5. palvelin)

* paths:
 - main: '/Users/pasi/nc/nc-server/'
 - bin : '/Users/pasi/4D/mg_v19/Manageri_v19/Resources/bin/bin_osx_arm64/'
 - pref: '/Users/pasi/nc/nc-server/preference/'
 - 4D  : '/Users/pasi/4D/mg_v19/Manageri_v19/'
. 	23.12.2021 	17:15:22 	lx 	(5. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	23.12.2021 	17:15:22 	lx 	(5. palvelin)

poll.expand_fds: 50, old fds: nil, new fds: cdata<struct pollfd *>: 0x0112badf70, size: 400. 	23.12.2021 	17:15:22 	lx 	(5. palvelin)

********************* /Users/pasi/nc/nc-server/ *********************. 	23.12.2021 	17:15:22 	lx 	(5. palvelin)

port: 5949, arguments: '[
	5949
]', nc-server.json: '[]'. 	23.12.2021 	17:15:22 	lx 	(5. palvelin)

nc_server: debugLevel(0):0  port(5959):5949  closeConnection(0):0. 	23.12.2021 	17:15:22 	lx 	(5. palvelin)

1. Loading plugin: nc/worker/auth_worker. 	23.12.2021 	17:15:22 	lx 	(5. palvelin)

2. Loading plugin: nc/worker/query_worker. 	23.12.2021 	17:15:22 	lx 	(5. palvelin)

3. Loading plugin: nc/worker/query4d_worker. 	23.12.2021 	17:15:22 	lx 	(5. palvelin)

4. Loading plugin: nc/worker/call4d_worker. 	23.12.2021 	17:15:22 	lx 	(5. palvelin)

All plugins have been loaded. 	23.12.2021 	17:15:22 	lx 	(5. palvelin)

* cached preference files: demo-fi_demo-0 - table/prf/field_type.json, demo-fi_demo-0 - system/option.json, demo-fi_demo-0 - system/4d.json. 	23.12.2021 	17:15:22 	lx 	(5. palvelin)

* run in command line: 'ifconfig | grep -E 'inet.[0-9]' | grep -v '127.0.0.1' | awk '{ print $2}''. 	23.12.2021 	17:15:22 	lx 	(5. palvelin)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	23.12.2021 	17:15:22 	lx 	(5. palvelin)

Mac address: f84d896921dc. 	23.12.2021 	17:15:22 	lx 	(5. palvelin)

TLS certificate files: /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/cert.pem, /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/privkey.pem. 	23.12.2021 	17:15:22 	lx 	(5. palvelin)

NC tcp server waiting on:  http://127.0.0.1:5949/,  http://10.35.145.203:5949/
                          https://127.0.0.1:5949/, https://10.35.145.203:5949/. 	23.12.2021 	17:15:22 	lx 	(5. palvelin)

NC udp server waiting on: 127.0.0.1:5949/, 10.35.145.203:5949/. 	23.12.2021 	17:15:22 	lx 	(5. palvelin)

--- server started in 0.005 seconds, 2021-12-23 17:15:22, used memory 3033.4 kb --- 	 5. 	23.12.2021 	17:15:22 	lx 	(5. palvelin)

OSX arm64, using: rapidjson-arm, lfs-ffi. 	23.12.2021 	17:15:22 	lx 	(5. palvelin)

Starting to stop tcp server 2, max. delay 1,7 seconds... 	23.12.2021 	17:16:33 	_lx_SERVER 	(6. tbl_ 7)

*** tcp close for sock 72, type 'nil', protocol 'nil', reason: '', request length: (no request) bytes ***. 	23.12.2021 	17:16:33 	lx 	(5. palvelin)

closing socket '72'. 	23.12.2021 	17:16:33 	lx 	(5. palvelin)

*** tcp close for sock 73, type 'nil', protocol 'nil', reason: '', request length: (no request) bytes ***. 	23.12.2021 	17:16:33 	lx 	(5. palvelin)

closing socket '73'. 	23.12.2021 	17:16:33 	lx 	(5. palvelin)

 -- Server statistics --
answerCount:          0
poll.fd_count:        0
pollCount:            3160
pollInCount:          0
pollOutCount:         0
pollCloseCount:       0
pollErrCount:         0
fd add/remove count:  2/2
totalBytesReceived:   0
totalBytesSent:       0. 	23.12.2021 	17:16:33 	lx 	(5. palvelin)

--- server stopped ---. 	23.12.2021 	17:16:33 	lx 	(5. palvelin)

finalizer: free p1 	 cdata<void *>: 0x0112badf70. 	23.12.2021 	17:16:34 	lx 	(5. palvelin)

Tcp palvelin 2 sammutettu. 	23.12.2021 	17:16:34 	_lx_SERVER 	(5. palvelin)

Käynnisteään Tcp palvelin 2. 	23.12.2021 	17:16:41 	_lx_SERVER 	(5. palvelin)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	23.12.2021 	17:16:42 	lx 	(5. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	23.12.2021 	17:16:42 	lx 	(5. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	23.12.2021 	17:16:42 	lx 	(5. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	23.12.2021 	17:16:42 	lx 	(5. palvelin)

    Connected to: 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	23.12.2021 	17:16:42 	lx 	(5. palvelin)

  database connect time: 0.0003 seconds. 	23.12.2021 	17:16:42 	lx 	(5. palvelin)

* connect: connection changed to 'postgre-demo/fi_demo'. 	23.12.2021 	17:16:42 	lx 	(5. palvelin)

* paths:
 - main: '/Users/pasi/nc/nc-server/'
 - bin : '/Users/pasi/4D/mg_v19/Manageri_v19/Resources/bin/bin_osx_arm64/'
 - pref: '/Users/pasi/nc/nc-server/preference/'
 - 4D  : '/Users/pasi/4D/mg_v19/Manageri_v19/'
. 	23.12.2021 	17:16:42 	lx 	(5. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	23.12.2021 	17:16:42 	lx 	(5. palvelin)

poll.expand_fds: 50, old fds: nil, new fds: cdata<struct pollfd *>: 0x0128128410, size: 400. 	23.12.2021 	17:16:42 	lx 	(5. palvelin)

********************* /Users/pasi/nc/nc-server/ *********************. 	23.12.2021 	17:16:42 	lx 	(5. palvelin)

port: 5949, arguments: '[
	5949
]', nc-server.json: '[]'. 	23.12.2021 	17:16:42 	lx 	(5. palvelin)

nc_server: debugLevel(0):0  port(5959):5949  closeConnection(0):0. 	23.12.2021 	17:16:42 	lx 	(5. palvelin)

1. Loading plugin: nc/worker/auth_worker. 	23.12.2021 	17:16:42 	lx 	(5. palvelin)

2. Loading plugin: nc/worker/query_worker. 	23.12.2021 	17:16:42 	lx 	(5. palvelin)

3. Loading plugin: nc/worker/query4d_worker. 	23.12.2021 	17:16:42 	lx 	(5. palvelin)

4. Loading plugin: nc/worker/call4d_worker. 	23.12.2021 	17:16:42 	lx 	(5. palvelin)

All plugins have been loaded. 	23.12.2021 	17:16:42 	lx 	(5. palvelin)

* cached preference files: demo-fi_demo-0 - system/4d.json, demo-fi_demo-0 - system/option.json, demo-fi_demo-0 - table/prf/field_type.json. 	23.12.2021 	17:16:42 	lx 	(5. palvelin)

* run in command line: 'ifconfig | grep -E 'inet.[0-9]' | grep -v '127.0.0.1' | awk '{ print $2}''. 	23.12.2021 	17:16:42 	lx 	(5. palvelin)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	23.12.2021 	17:16:42 	lx 	(5. palvelin)

Mac address: f84d896921dc. 	23.12.2021 	17:16:42 	lx 	(5. palvelin)

TLS certificate files: /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/cert.pem, /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/privkey.pem. 	23.12.2021 	17:16:42 	lx 	(5. palvelin)

NC tcp server waiting on:  http://127.0.0.1:5949/,  http://10.35.145.203:5949/
                          https://127.0.0.1:5949/, https://10.35.145.203:5949/. 	23.12.2021 	17:16:42 	lx 	(5. palvelin)

NC udp server waiting on: 127.0.0.1:5949/, 10.35.145.203:5949/. 	23.12.2021 	17:16:42 	lx 	(5. palvelin)

--- server started in 0.002 seconds, 2021-12-23 17:16:42, used memory 2992.9 kb --- 	 5. 	23.12.2021 	17:16:42 	lx 	(5. palvelin)

OSX arm64, using: rapidjson-arm, lfs-ffi. 	23.12.2021 	17:16:42 	lx 	(5. palvelin)

Starting to stop tcp server 2, max. delay 1,7 seconds... 	23.12.2021 	17:18:01 	_lx_SERVER 	(6. tbl_ 7)

*** tcp close for sock 73, type 'nil', protocol 'nil', reason: '', request length: (no request) bytes ***. 	23.12.2021 	17:18:01 	lx 	(5. palvelin)

closing socket '73'. 	23.12.2021 	17:18:01 	lx 	(5. palvelin)

*** tcp close for sock 77, type 'nil', protocol 'nil', reason: '', request length: (no request) bytes ***. 	23.12.2021 	17:18:01 	lx 	(5. palvelin)

closing socket '77'. 	23.12.2021 	17:18:01 	lx 	(5. palvelin)

 -- Server statistics --
answerCount:          0
poll.fd_count:        0
pollCount:            3528
pollInCount:          0
pollOutCount:         0
pollCloseCount:       0
pollErrCount:         0
fd add/remove count:  2/2
totalBytesReceived:   0
totalBytesSent:       0. 	23.12.2021 	17:18:01 	lx 	(5. palvelin)

--- server stopped ---. 	23.12.2021 	17:18:01 	lx 	(5. palvelin)

finalizer: free p1 	 cdata<void *>: 0x0128128410. 	23.12.2021 	17:18:01 	lx 	(5. palvelin)

Tcp palvelin 2 sammutettu. 	23.12.2021 	17:18:01 	_lx_SERVER 	(5. palvelin)

Document or preference was not found: Mac:Users:pasi:nc:nc-server:manager:4d:ma_server_4d.lx. 	23.12.2021 	17:18:05 	_lua_ FileRun 	(6. tbl_ 7)

err: Document or preference was not found: Mac:Users:pasi:nc:nc-server:manager:4d:ma_server_4d.lx. 	23.12.2021 	17:18:05 	_lua_ FileRun 	(6. tbl_ 7)

unload lx environment: does not exist. 	23.12.2021 	17:18:05 	_lua_ FileUnload 	(6. tbl_ 7)

Käynnisteään Tcp palvelin 2. 	23.12.2021 	17:18:08 	_lx_SERVER 	(5. palvelin)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	23.12.2021 	17:18:10 	lx 	(5. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	23.12.2021 	17:18:10 	lx 	(5. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	23.12.2021 	17:18:10 	lx 	(5. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	23.12.2021 	17:18:10 	lx 	(5. palvelin)

    Connected to: 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	23.12.2021 	17:18:10 	lx 	(5. palvelin)

  database connect time: 0.00033 seconds. 	23.12.2021 	17:18:10 	lx 	(5. palvelin)

* connect: connection changed to 'postgre-demo/fi_demo'. 	23.12.2021 	17:18:10 	lx 	(5. palvelin)

* paths:
 - main: '/Users/pasi/nc/nc-server/'
 - bin : '/Users/pasi/4D/mg_v19/Manageri_v19/Resources/bin/bin_osx_arm64/'
 - pref: '/Users/pasi/nc/nc-server/preference/'
 - 4D  : '/Users/pasi/4D/mg_v19/Manageri_v19/'
. 	23.12.2021 	17:18:10 	lx 	(5. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	23.12.2021 	17:18:10 	lx 	(5. palvelin)

poll.expand_fds: 50, old fds: nil, new fds: cdata<struct pollfd *>: 0x0116aa2d20, size: 400. 	23.12.2021 	17:18:10 	lx 	(5. palvelin)

********************* /Users/pasi/nc/nc-server/ *********************. 	23.12.2021 	17:18:10 	lx 	(5. palvelin)

port: 5949, arguments: '[
	5949
]', nc-server.json: '[]'. 	23.12.2021 	17:18:10 	lx 	(5. palvelin)

nc_server: debugLevel(0):0  port(5959):5949  closeConnection(0):0. 	23.12.2021 	17:18:10 	lx 	(5. palvelin)

1. Loading plugin: nc/worker/auth_worker. 	23.12.2021 	17:18:10 	lx 	(5. palvelin)

2. Loading plugin: nc/worker/query_worker. 	23.12.2021 	17:18:10 	lx 	(5. palvelin)

3. Loading plugin: nc/worker/query4d_worker. 	23.12.2021 	17:18:10 	lx 	(5. palvelin)

4. Loading plugin: nc/worker/call4d_worker. 	23.12.2021 	17:18:10 	lx 	(5. palvelin)

All plugins have been loaded. 	23.12.2021 	17:18:10 	lx 	(5. palvelin)

* cached preference files: demo-fi_demo-0 - system/option.json, demo-fi_demo-0 - system/4d.json, demo-fi_demo-0 - table/prf/field_type.json. 	23.12.2021 	17:18:10 	lx 	(5. palvelin)

* run in command line: 'ifconfig | grep -E 'inet.[0-9]' | grep -v '127.0.0.1' | awk '{ print $2}''. 	23.12.2021 	17:18:10 	lx 	(5. palvelin)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	23.12.2021 	17:18:10 	lx 	(5. palvelin)

Mac address: f84d896921dc. 	23.12.2021 	17:18:10 	lx 	(5. palvelin)

TLS certificate files: /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/cert.pem, /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/privkey.pem. 	23.12.2021 	17:18:10 	lx 	(5. palvelin)

NC tcp server waiting on:  http://127.0.0.1:5949/,  http://10.35.145.203:5949/
                          https://127.0.0.1:5949/, https://10.35.145.203:5949/. 	23.12.2021 	17:18:10 	lx 	(5. palvelin)

NC udp server waiting on: 127.0.0.1:5949/, 10.35.145.203:5949/. 	23.12.2021 	17:18:10 	lx 	(5. palvelin)

--- server started in 0.003 seconds, 2021-12-23 17:18:10, used memory 2993.5 kb --- 	 5. 	23.12.2021 	17:18:10 	lx 	(5. palvelin)

OSX arm64, using: rapidjson-arm, lfs-ffi. 	23.12.2021 	17:18:10 	lx 	(5. palvelin)

Starting to stop tcp server 2, max. delay 1,7 seconds... 	23.12.2021 	17:26:25 	_lx_SERVER 	(6. tbl_ 7)

*** tcp close for sock 77, type 'nil', protocol 'nil', reason: '', request length: (no request) bytes ***. 	23.12.2021 	17:26:25 	lx 	(5. palvelin)

closing socket '77'. 	23.12.2021 	17:26:25 	lx 	(5. palvelin)

*** tcp close for sock 78, type 'nil', protocol 'nil', reason: '', request length: (no request) bytes ***. 	23.12.2021 	17:26:25 	lx 	(5. palvelin)

closing socket '78'. 	23.12.2021 	17:26:25 	lx 	(5. palvelin)

 -- Server statistics --
answerCount:          0
poll.fd_count:        0
pollCount:            22352
pollInCount:          0
pollOutCount:         0
pollCloseCount:       0
pollErrCount:         0
fd add/remove count:  2/2
totalBytesReceived:   0
totalBytesSent:       0. 	23.12.2021 	17:26:25 	lx 	(5. palvelin)

--- server stopped ---. 	23.12.2021 	17:26:25 	lx 	(5. palvelin)

finalizer: free p1 	 cdata<void *>: 0x0116aa2d20. 	23.12.2021 	17:26:26 	lx 	(5. palvelin)

Tcp palvelin 2 sammutettu. 	23.12.2021 	17:26:26 	_lx_SERVER 	(5. palvelin)

Käynnisteään Tcp palvelin 2. 	23.12.2021 	17:26:31 	_lx_SERVER 	(5. palvelin)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	23.12.2021 	17:26:33 	lx 	(5. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	23.12.2021 	17:26:33 	lx 	(5. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	23.12.2021 	17:26:33 	lx 	(5. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	23.12.2021 	17:26:33 	lx 	(5. palvelin)

    Connected to: 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	23.12.2021 	17:26:33 	lx 	(5. palvelin)

  database connect time: 0.0003 seconds. 	23.12.2021 	17:26:33 	lx 	(5. palvelin)

* connect: connection changed to 'postgre-demo/fi_demo'. 	23.12.2021 	17:26:33 	lx 	(5. palvelin)

* paths:
 - main: '/Users/pasi/nc/nc-server/'
 - bin : '/Users/pasi/4D/mg_v19/Manageri_v19/Resources/bin/bin_osx_arm64/'
 - pref: '/Users/pasi/nc/nc-server/preference/'
 - 4D  : '/Users/pasi/4D/mg_v19/Manageri_v19/'
. 	23.12.2021 	17:26:33 	lx 	(5. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	23.12.2021 	17:26:33 	lx 	(5. palvelin)

poll.expand_fds: 50, old fds: nil, new fds: cdata<struct pollfd *>: 0x0112951d40, size: 400. 	23.12.2021 	17:26:33 	lx 	(5. palvelin)

********************* /Users/pasi/nc/nc-server/ *********************. 	23.12.2021 	17:26:33 	lx 	(5. palvelin)

port: 5949, arguments: '[
	5949
]', nc-server.json: '[]'. 	23.12.2021 	17:26:33 	lx 	(5. palvelin)

nc_server: debugLevel(0):0  port(5959):5949  closeConnection(0):0. 	23.12.2021 	17:26:33 	lx 	(5. palvelin)

1. Loading plugin: nc/worker/auth_worker. 	23.12.2021 	17:26:33 	lx 	(5. palvelin)

2. Loading plugin: nc/worker/query_worker. 	23.12.2021 	17:26:33 	lx 	(5. palvelin)

3. Loading plugin: nc/worker/query4d_worker. 	23.12.2021 	17:26:33 	lx 	(5. palvelin)

4. Loading plugin: nc/worker/call4d_worker. 	23.12.2021 	17:26:33 	lx 	(5. palvelin)

All plugins have been loaded. 	23.12.2021 	17:26:33 	lx 	(5. palvelin)

* cached preference files: demo-fi_demo-0 - system/4d.json, demo-fi_demo-0 - table/prf/field_type.json, demo-fi_demo-0 - system/option.json. 	23.12.2021 	17:26:33 	lx 	(5. palvelin)

* run in command line: 'ifconfig | grep -E 'inet.[0-9]' | grep -v '127.0.0.1' | awk '{ print $2}''. 	23.12.2021 	17:26:33 	lx 	(5. palvelin)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	23.12.2021 	17:26:33 	lx 	(5. palvelin)

Mac address: f84d896921dc. 	23.12.2021 	17:26:33 	lx 	(5. palvelin)

TLS certificate files: /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/cert.pem, /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/privkey.pem. 	23.12.2021 	17:26:33 	lx 	(5. palvelin)

NC tcp server waiting on:  http://127.0.0.1:5949/,  http://10.35.145.203:5949/
                          https://127.0.0.1:5949/, https://10.35.145.203:5949/. 	23.12.2021 	17:26:33 	lx 	(5. palvelin)

NC udp server waiting on: 127.0.0.1:5949/, 10.35.145.203:5949/. 	23.12.2021 	17:26:33 	lx 	(5. palvelin)

--- server started in 0.002 seconds, 2021-12-23 17:26:33, used memory 2989.5 kb --- 	 5. 	23.12.2021 	17:26:33 	lx 	(5. palvelin)

OSX arm64, using: rapidjson-arm, lfs-ffi. 	23.12.2021 	17:26:33 	lx 	(5. palvelin)

*** tcp close for sock 78, type 'nil', protocol 'nil', reason: '', request length: (no request) bytes ***. 	23.12.2021 	22:18:48 	lx 	(5. palvelin)

closing socket '78'. 	23.12.2021 	22:18:48 	lx 	(5. palvelin)

*** tcp close for sock 79, type 'nil', protocol 'nil', reason: '', request length: (no request) bytes ***. 	23.12.2021 	22:18:48 	lx 	(5. palvelin)

closing socket '79'. 	23.12.2021 	22:18:48 	lx 	(5. palvelin)

 -- Server statistics --
answerCount:          0
poll.fd_count:        0
pollCount:            72056
pollInCount:          0
pollOutCount:         0
pollCloseCount:       0
pollErrCount:         0
fd add/remove count:  2/2
totalBytesReceived:   0
totalBytesSent:       0. 	23.12.2021 	22:18:48 	lx 	(5. palvelin)

--- server stopped ---. 	23.12.2021 	22:18:48 	lx 	(5. palvelin)

finalizer: free p1 	 cdata<void *>: 0x0112951d40. 	23.12.2021 	22:18:48 	lx 	(5. palvelin)

